home *** CD-ROM | disk | FTP | other *** search
- class prop.ufoAni extends MovieClip
- {
- var cnt;
- var cntMax;
- var onEnterFrame;
- function ufoAni()
- {
- super();
- this.cnt = 0;
- this.cntMax = 200;
- }
- function startAni()
- {
- this.onEnterFrame = this.OEF;
- }
- function OEF()
- {
- if(this.cnt < this.cntMax)
- {
- this.cnt = this.cnt + 1;
- }
- else
- {
- this.play();
- this.onEnterFrame = null;
- }
- }
- function dropProps()
- {
- _global.scene.pwStone._visible = true;
- _global.scene.arkShape._visible = true;
- _global.scene.manAni._visible = true;
- }
- }
-